﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Contract.aspx.cs" Inherits="Contract" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    
    <style type="text/css">
        .auto-style1 {
        }
        .auto-style2 {
            width: 247px;
        }
        .auto-style3 {
            width: 131px;
        }
        .auto-style4 {
            width: 238px;
        }
        .auto-style5 {
            width: 157px;
            height: 26px;
        }
        .auto-style6 {
            width: 247px;
            height: 26px;
        }
        .auto-style7 {
            width: 131px;
            height: 26px;
        }
        .auto-style8 {
            height: 26px;
        }
        .auto-style9 {
            width: 157px;
            height: 21px;
        }
        .auto-style10 {
            width: 247px;
            height: 21px;
        }
        .auto-style11 {
            width: 131px;
            height: 21px;
        }
        .auto-style12 {
            height: 21px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="HeaderRowBot" Runat="Server">
    <div class="main">
        <div class="title"><asp:LinkButton ID="lbtnTitle" runat="server" ForeColor="White">Order Service</asp:LinkButton></div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" Runat="Server">
    <div class="main">
        <div class="wrapper">
            <div class="main-contract">

                <table style="width: 100%;" id="tbCustomer" class="table-contact">
                    <tr>
                        <td class="auto-style1" colspan="2">
                            <asp:Label ID="lbSuccess" runat="server" CssClass="item-left" Text="Thank you for using our services! " Font-Size="15pt" ForeColor="#C53005" Visible="False"></asp:Label>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="auto-style12" colspan="2">
                            <asp:Label ID="Label14" runat="server" Text="You will be redirected to homepage in 5 seconds !" Visible="False"></asp:Label>
                        </td>
                        <td class="auto-style12">
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style1">
                <asp:Label ID="lbTitle" runat="server" Text="• Customer" CssClass="ContentTitle"></asp:Label>

                        </td>
                        <td class="auto-style4">
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="auto-style1">
                            <asp:Label ID="Label3" runat="server" CssClass="item-left" Text="Full name :"></asp:Label>
                        </td>
                        <td class="auto-style4">
                            <asp:TextBox ID="txtName" runat="server" Width="200px"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvName" runat="server" ControlToValidate="txtName" ErrorMessage="* You must enter a Name" ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style1">
                            <asp:Label ID="Label4" runat="server" CssClass="item-left" Text="Phone number :"></asp:Label>
                        </td>
                        <td class="auto-style4">
                            <asp:TextBox ID="txtPhone" runat="server" Width="200px" TextMode="Phone"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RegularExpressionValidator ID="revPhone" runat="server" ControlToValidate="txtPhone" ErrorMessage="* &quot;Phone number&quot; is number in 10 to 11 number" ForeColor="Red" ValidationExpression="\d{10,11}"></asp:RegularExpressionValidator>
&nbsp;</td>
                    </tr>
                    <tr>
                        <td class="auto-style1">
                            <asp:Label ID="Label5" runat="server" CssClass="item-left" Text="Email :"></asp:Label>
                        </td>
                        <td class="auto-style4">
                            <asp:TextBox ID="txtEmail" runat="server" Width="200px" TextMode="Email"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvEmail" runat="server" ControlToValidate="txtEmail" ErrorMessage="* You must enter a Email" ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style1">
                            <asp:Label ID="Label6" runat="server" CssClass="item-left" Text="Address :"></asp:Label>
                        </td>
                        <td class="auto-style4">
                            <asp:TextBox ID="txtAddress" runat="server" Height="70px" TextMode="MultiLine" Width="200px"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvAddress" runat="server" ControlToValidate="txtAddress" ErrorMessage="* You must enter a Address" ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                </table>
                <asp:Label ID="Label1" runat="server" Text="• Services" CssClass="ContentTitle"></asp:Label>
                <table style="width: 100%;" id="Table1" class="table-contact">
                    <tr>
                        <td class="auto-style1">
                            <asp:Label ID="Label2" runat="server" CssClass="item-left" Text="Service category :"></asp:Label>
                        </td>
                        <td class="auto-style2">
                            <asp:DropDownList ID="ddlService" runat="server" DataValueField="ServiceCategoryID" Width="200px" AutoPostBack="True" DataTextField="ServiceName" OnSelectedIndexChanged="ddlService_SelectedIndexChanged">
                            </asp:DropDownList>
                        </td>
                        <td class="auto-style3">
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="auto-style5">
                            <asp:Label ID="Label7" runat="server" CssClass="item-left" Text="Services :"></asp:Label>
                        </td>
                        <td class="auto-style6">
                            <asp:DropDownList ID="ddlSubCategory" runat="server" DataValueField="SubCategoryID" Width="200px" AutoPostBack="True" DataTextField="SubName" OnSelectedIndexChanged="ddlSubCategory_SelectedIndexChanged">
                            </asp:DropDownList>
                        </td>
                        <td class="auto-style7"></td>
                        <td class="auto-style8"></td>
                    </tr>
                    <tr>
                        <td class="auto-style1">
                            <asp:Label ID="Label8" runat="server" CssClass="item-left" Text="Plans :"></asp:Label>
                        </td>
                        <td class="auto-style2">
                            <asp:DropDownList ID="ddlPaymentMethod" runat="server" AutoPostBack="True" DataTextField="PaymentName" DataValueField="PaymentMethodID" OnSelectedIndexChanged="ddlPaymentMethod_SelectedIndexChanged1" Width="200px">
                            </asp:DropDownList>
                        </td>
                        <td class="auto-style3">
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="auto-style9">
                            <asp:Label ID="Label13" runat="server" CssClass="item-left" Text="Contract note :"></asp:Label>
                        </td>
                        <td class="auto-style10">
                            <asp:Label ID="lbNote" runat="server" CssClass="item-left" ForeColor="Red"></asp:Label>
                        </td>
                        <td class="auto-style11"></td>
                        <td class="auto-style12"></td>
                    </tr>
                    <tr>
                        <td class="auto-style1" colspan="3">
                            &nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td class="auto-style1">
                            &nbsp;</td>
                        <td class="auto-style2">
                            <asp:Button ID="btnOrder" runat="server" CssClass="button" Text="Send order" OnClick="btnOrder_Click" OnClientClick="return confirm('Are you sure you want to Order');" />
&nbsp;&nbsp;
                            <asp:Button ID="btnReset" runat="server" CssClass="button" Text="Reset" />
                        </td>
                        <td class="auto-style3">&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
</asp:Content>

